package org.airlink.persistence.criteria.expressions
{
	import flex.persistence.criteria.Expression;
	import flex.persistence.criteria.Subquery;
	
	import org.airlink.persistence.criteria.ExpressionImpl;

	public class Some extends ExpressionImpl
	{
		private var query:Subquery;
		
		public function Some(query:Subquery)
		{
			this.query = query;
		}
		
		override public function toString():String {
			return "some(" + query.asValue() + ")";
		}
	}
}